var app = document.getElementById('app');
    // fragement = document.createDocumentFragment();


// var div = document.createElement('div');
// div.innerHTML = 'div';

// fragement.appendChild([].slice.call(app.childNodes)[3]);

console.log(app.childNodes[1])
// app.appendChild(fragement)

var object = {
    a : [2,3,4],
    fn:function(){
        console.log(this.fn)
    }
}
// console.log(['a',2,3].slice.call(object))

var obj = {
    fn : 2
}

object.fn.call(obj)

console.log([1,1,1].slice());

function atr(a,b){
    [].slice.call(arguments).map(key=>{
        console.log(key)
    })
}

atr(1,2)